package com.wenjie.original.entity;


import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import com.wenjie.original.entity.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Table("sys_code_temp_history")
@ApiModel("代码模版历史记录 ")
public class SysCodeTempHistory extends BaseEntity {

    @Id(keyType = KeyType.Generator, value = KeyGenerators.snowFlakeId)
    @ApiModelProperty("代码模版历史记录ID")
    private Long sysCodeTempHistoryId;

    @ApiModelProperty("代码组模版ID")
    private Long sysCodeTempGroupId;

    @ApiModelProperty("代码模版ID")
    private Long sysCodeTempId;

    @ApiModelProperty("模版的版本号")
    private Integer tempVersion;

    @ApiModelProperty("备份数据")
    private String centent;


}
